package com.linkhouse.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class TbNewSmallArea implements Serializable {//新房源小区
    @TableId(type = IdType.AUTO)//主键自增
    private Long id;
    /**
     * 房源小区图片
     */
    @TableField
    private String pic;
    /**
     * 房源小区名
     */
    @TableField
    private String smallAreaName;
    /**
     * 房源小区描述
     */
    @TableField
    private String description;
    /**
     * 房源小区地址
     */
    @TableField
    private String addr;
    /**
     * 房源小区电话
     */
    @TableField
    private String telphone;
    /**
     * 公司id
     */
    @TableField
    private Long companyId;
}